<script lang="ts" setup>
const props = defineProps<{
  theme: string
}>()
const type = computed<any>(() => {
  return props.theme
})
const emit = defineEmits(['change'])
</script>

<template>
  <Button :icon="type" @click="() => emit('change')" />
</template>